cmake_minimum_required(VERSION 3.5)

project("SimDriverBoard")

set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)


add_subdirectory(app)


# ---------------------- 测试用例 [start]--------------------
# 开启单元测试
OPTION(ENABLE_TESTING "Enable test" OFF)
OPTION(TESTING_ALL_IN_ONE "build all test_file in one" OFF)

if (ENABLE_TESTING)
    add_subdirectory(unit_test)
endif()
# ---------------------- 测试用例 [end]--------------------
